import App from './App'
import uviewPlus from 'uview-plus'
import tabBar from "./components/tabBar/tabBar.vue"
 
import { VueJsonp } from 'vue-jsonp'


// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
// 注册全局组件
Vue.component('tabBar', tabBar)
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
 
Vue.use(VueJsonp)
 // app.use(uviewPlus)
app.$mount()
// #endif
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
   app.use(uviewPlus)
  return {
    app
  }
}